package com.example.demo20230927;

/**
 * @PACKAGE_NAME: com.example.demo20230927
 * @NAME: UserService
 * @USER: jiang000
 * @DATE: 2023/12/1
 **/
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

@Service
@RequiredArgsConstructor
public class UserService {
    private final UserMapper userMapper;

    public User getUserById(Long id) {
        return userMapper.getUserById(id);
    }
}
